package com.tx.java.chapter14.exercise14_2;

/**
 *
 */
public class ChildClass extends BaseClass implements ISwim,IPlay {

    static{
        System.out.println("hhhhhh");
    }

    public ChildClass() {
        System.out.println("create ChildClass!");
    }

    @Override
    public void canPlay() {
        System.out.println("child can play!");
    }

    @Override
    public void canSwim() {
        System.out.println("child can swim!");
    }
}